package com.yvdedu.my161121.addressbook.biz.entity;

import java.io.Serializable;

public class Login implements Serializable {


	private static final long serialVersionUID=1L ;

	private int id;
	private String loginName;
	private String password;
	private User user;

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "Login{" +
				"id=" + id +
				", loginName=" + loginName +
				", password=" + password +
				", user=" + user +
				'}'+'\n';
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}


	public User getUser() {
		return user;
	}
	 
	public void setUser(User user) {
		this.user = user;
	}
	 
}
 
